reftests: Add label-sizing test
authorBenjamin Otte <otte@redhat.com>
Sun, 17 Apr 2011 17:56:52 +0000 (19:56 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 3 May 2011 13:40:48 +0000 (15:40 +0200)
commit9229b3216a26fa3a0d789d97a4a674632306c3e0
tree357e13dac4bc03e2d96086f301638b2d2e22bb05
parent363dbb60397ebf683d8a97ae15517030c27357d7
reftests: Add label-sizing test

Checks that the size requests for labels are as they should be for
required and natural size given various combinations of wrap, ellipsize,
width-chars and max-width-chars.

See
http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00036.html
for the discussion spawning this test.
tests/reftests/Makefile.am
tests/reftests/label-sizing.css [new file with mode: 0644]
tests/reftests/label-sizing.ref.ui [new file with mode: 0644]
tests/reftests/label-sizing.ui [new file with mode: 0644]